WARNING: This program has a syntax error, which means we need to fix it!

RULE: The ord() and chr() commands can ONLY take in one letter or number at a time.

  • Click Run and read the error message.
  • Replace the variable word in the second ord() command with the second letter of the word.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)